package com.suming.springboot_game.service;

import com.suming.springboot_game.common.Result;
import com.suming.springboot_game.entity.Role;

import java.util.List;

public interface RoleService {
    public Integer recruit(Role role);

    public List<Role> selectAll();

    Integer dismiss(List<Integer> ids);

    List<Role> selectPage(Integer pageNum, Integer pageSize, String name);

    Integer countByName(String name);
}
